package abstr.pizza;

public class PizzaTest {
	public static void main(String[] args) {
		PizzaService[]pizza
		= {new PotatoPizzaService(), 
		    new PotatoPizzaService(), 
		    new BulgogiPizzaService(), 
		    new BulgogiPizzaService()};
		for(int i = 0; i<pizza.length; i++){
			pizza[i].makePizza();//Pizza Service
			System.out.println(i);
		}
	}
}
